Daniel Boles [Sun, 11 Jun 2023 10:22:45 +0000 (11:22 +0100)]
ScrolledWindow: Frame on viewport is not optional,
and seems always to default to true, so don't mention it being optional.
Origin: 3.24.39, commit:
c9f0b0d29b882326b4858b4d9fa62291dccfcf43
Gbp-Pq: Name ScrolledWindow-Frame-on-viewport-is-not-optional.patch
Martin Wilck [Fri, 2 Jun 2023 13:16:58 +0000 (15:16 +0200)]
gtkmountoperation: avoid SEGV after bad password input
I observed the following nautilus crash below after trying to access an SMB
share and mistyping my password (it also happens if mounting the SMB share
fails for other reasons after entering a password). The crash happens when
the password entry window pops up the second time, in this code path, at
the 7th element of priv->user_widgets:
458 pw_dialog_anonymous_toggled (GtkWidget *widget,
459 GtkMountOperation *operation)
460 {
...
472 for (l = priv->user_widgets; l != NULL; l = l->next)
473 {
474 gtk_widget_set_sensitive (GTK_WIDGET (l->data), !priv->anonymous);
475 }
The broken element had l->data = 0xaaaaaaaaaaaa, which means the pointer had
been freed.
The broken list entries were at the of the list because when
gtk_mount_operation_ask_password_do_gtk() constucts the pop-up the 2nd time,
it prepends new widgets:
gtk_mount_operation_ask_password_do_gtk()
table_add_entry
operation->priv->user_widgets = g_list_prepend (operation->priv->user_widgets, entry);
The problem is that in pw_dialog_got_response(), the widget is destroyed,
which also destroys all child widgets, but the priv->user_widgets list is
neither freed nor set to NULL.
Fix it.
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6049
Origin: 3.24.39, commit:
1d95b8ab2646b3e36a1c1b23b771c4f145be13fc
Gbp-Pq: Name gtkmountoperation-avoid-SEGV-after-bad-password-input.patch
Marco Trevisan (Treviño) [Thu, 1 Jun 2023 22:23:51 +0000 (00:23 +0200)]
x11: Trap XRandr errors when getting outputs during init and update
We may try to update the XRR outputs and Crtcs when they're changing in
the server, and so we may get BadRROutput that we're currently not
handling properly.
As per this, use traps and check whether we got errors, and if we did
let's ignore the current output.
It's not required to call init_randr13() again because if we got errors
it's very likely that there's a change coming that will be notified at
next iteration during which we'll repeat the init actions.
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6047
Origin: 3.24.39, commit:
b938e4e6ac75af57ed5cd844c96738f01d57f24c
Gbp-Pq: Name x11-Trap-XRandr-errors-when-getting-outputs-during-init-a.patch
henry [Wed, 31 May 2023 22:05:19 +0000 (23:05 +0100)]
This commit fixes a performance issue on X11 systems in regards to drawing on an OpenGL surface in GTK/GDK.
This commit fixes a performance issue on X11 systems making use of the gdk_cairo_draw_from_gl() function in regards
to drawing on an OpenGL surface in GTK/GDK. Specifically, this fix removes the slow X11 codepath that was used when
executing the gdk_cairo_draw_from_gl() function because it was completely uneeded. I tested the before and after on
Flutter and GTK apps making use of the OpenGL rendering and can confirm that there is no behaviour and visual
difference. This change is also specific to drawings that make use of textures. The render buffer code path has
been left completely unmodified.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4704
Origin: 3.24.39, commit:
7237f5d0eb5ec2f1411a28b9394ff4c4472f4d8b
Gbp-Pq: Name This-commit-fixes-a-performance-issue-on-X11-systems-in-r.patch
liulinsong [Wed, 31 May 2023 14:13:48 +0000 (22:13 +0800)]
Fix a typo
1. According to the UTF-8 spec, ASCII character's charcode is from
0 to 127 inclusively.
2. Any charcode which is greater than or equal to 128 will be
a multi-byte character.
Origin: 3.24.39, commit:
1659cefde792f127f604f15ae12f17ede10f1c00
Gbp-Pq: Name Fix-a-typo.patch
Sabri Ünal [Mon, 29 May 2023 12:18:38 +0000 (12:18 +0000)]
Update Turkish translation
Origin: 3.24.39, commit:
379512c092dc2bc904ebd6aaa3b84d7234c31034
Gbp-Pq: Name Update-Turkish-translation.patch
liiulinsong [Fri, 26 May 2023 02:18:58 +0000 (10:18 +0800)]
Make sure that the charcode is signless
1. The data with type of char is signed by default.
2. The byte value of UTF-8 is signless by default.
3. So, if a UTF-8 charcode is stored in a char array, we should cast the
type of its value from char to unsigned char.
Origin: 3.24.39, commit:
6dc75b46cc9afe1c98b7ba72a9b1a275c723ea42
Gbp-Pq: Name Make-sure-that-the-charcode-is-signless.patch
Руслан Ижбулатов [Sun, 10 Jun 2018 21:05:30 +0000 (21:05 +0000)]
Use correct stat struct for ftw()
check_dir_mtime() is called by ftw() and is given
the real stat struct, not its glib version (which may
or may not be the same as "struct stat").
This is irrelevant for MSVC (it has no ftw()) and
works correctly for MinGW-w64 (which declares stat
structures correctly). If mingw.org complains, add
a special ifdef for it later.
Origin: upstream, 3.24.39, commit:
7e17693cced0db855bfe0997f26633ca8bdd48cc
Gbp-Pq: Name Use-correct-stat-struct-for-ftw.patch
Simon McVittie [Sun, 10 Sep 2023 14:51:21 +0000 (15:51 +0100)]
Release to unstable
Simon McVittie [Sat, 9 Sep 2023 21:11:28 +0000 (22:11 +0100)]
Update to upstream gtk-3-24 branch commit
3.24.38-60-gecf3ac115d
Simon McVittie [Sat, 9 Sep 2023 20:00:53 +0000 (21:00 +0100)]
Update changelog
Amin Bandali [Mon, 4 Sep 2023 14:25:38 +0000 (10:25 -0400)]
Change debian-branch from debian/master to debian/latest
Jeremy Bícha [Wed, 9 Aug 2023 22:10:59 +0000 (18:10 -0400)]
releasing package gtk+3.0 version 3.24.38-4
Jeremy Bícha [Wed, 9 Aug 2023 21:17:27 +0000 (17:17 -0400)]
Have -dev package depend on libcloudproviders-dev on Debian
Jeremy Bícha [Wed, 9 Aug 2023 15:29:48 +0000 (11:29 -0400)]
releasing package gtk+3.0 version 3.24.38-3
Jeremy Bicha [Fri, 2 Dec 2022 03:05:42 +0000 (22:05 -0500)]
Build with libcloudproviders
This wasn't enabled years ago because it caused a test failure
with the autotools tests. But we've switched to meson now and
finally it looks like libcloudproviders has fixed enough issues
Jeremy Bícha [Sun, 23 Jul 2023 20:14:38 +0000 (16:14 -0400)]
releasing package gtk+3.0 version 3.24.38-2
Jeremy Bicha [Mon, 22 May 2023 17:36:07 +0000 (13:36 -0400)]
releasing package gtk+3.0 version 3.24.38-1
Jeremy Bicha [Mon, 22 May 2023 17:19:54 +0000 (13:19 -0400)]
Drop 3 patches applied in new release
Jeremy Bicha [Mon, 22 May 2023 17:19:09 +0000 (13:19 -0400)]
New upstream release
Jeremy Bicha [Mon, 22 May 2023 17:19:08 +0000 (13:19 -0400)]
Update upstream source from tag 'upstream/3.24.38'
Update to upstream version '3.24.38'
with Debian dir
0248cf6a424d7a60b35d1f69782aeb6f76ecb61c
Jeremy Bicha [Mon, 22 May 2023 17:18:23 +0000 (13:18 -0400)]
New upstream version 3.24.38
Matthias Clasen [Mon, 22 May 2023 01:52:10 +0000 (21:52 -0400)]
3.24.38
Matthias Clasen [Mon, 22 May 2023 02:21:44 +0000 (22:21 -0400)]
Disable a few failing reftests
Leônidas Araújo [Mon, 15 May 2023 12:30:13 +0000 (12:30 +0000)]
Update Brazilian Portuguese translation
Gianvito Cavasoli [Sun, 14 May 2023 10:38:47 +0000 (10:38 +0000)]
Update Italian translation
John Ralls [Tue, 9 May 2023 22:39:10 +0000 (15:39 -0700)]
[quartz] Pad both the content rect and the window width.
Otherwise the rastering gets messed up and popup windows get badly
truncated lengthwise on non-Retina monitors when there are both
Retina and non-Retina monitors.
John Ralls [Tue, 9 May 2023 20:58:22 +0000 (13:58 -0700)]
[quartz] Remove unused variable.
John Ralls [Tue, 9 May 2023 20:51:28 +0000 (13:51 -0700)]
Finally resolve gdkquartz.h include path issue.
By using a different include path for building Gtk.
Matthias Clasen [Sat, 29 Apr 2023 11:28:00 +0000 (11:28 +0000)]
Merge branch 'application-signal-cleanup-for-3' into 'gtk-3-24'
Fix a crash
See merge request GNOME/gtk!5887
Matthias Clasen [Wed, 26 Apr 2023 22:09:18 +0000 (00:09 +0200)]
Fix a crash
Fix an oversight from
fc1643956baa.
Matthias Clasen [Wed, 26 Apr 2023 12:38:22 +0000 (12:38 +0000)]
Merge branch 'application-signal-cleanup-for-3' into 'gtk-3-24'
application: Clean up signal handlers
See merge request GNOME/gtk!5871
Matthias Clasen [Wed, 26 Apr 2023 12:09:44 +0000 (14:09 +0200)]
application: Clean up signal handlers
This is the right thing to do and might help for #5775.
Yosef Or Boczko [Fri, 21 Apr 2023 09:12:18 +0000 (09:12 +0000)]
Update Hebrew translation
Fran Dieguez [Thu, 13 Apr 2023 16:57:52 +0000 (16:57 +0000)]
Update Galician translation
Мирослав Николић [Sun, 9 Apr 2023 11:36:47 +0000 (11:36 +0000)]
Update Serbian translation
Alexander Shopov [Fri, 7 Apr 2023 16:28:17 +0000 (16:28 +0000)]
Update Bulgarian translation
Luca Bacci [Thu, 6 Apr 2023 12:46:11 +0000 (12:46 +0000)]
Merge branch 'ole2-dnd-check-for-move' into 'gtk-3-24'
OLE2 DND: Check if move is supported
See merge request GNOME/gtk!5748
Luca Bacci [Wed, 29 Mar 2023 15:52:46 +0000 (17:52 +0200)]
OLE2 DND: Check if move is supported
Nart Tlisha [Wed, 5 Apr 2023 09:38:22 +0000 (09:38 +0000)]
Update Abkhazian translation
Nart Tlisha [Wed, 5 Apr 2023 09:03:53 +0000 (09:03 +0000)]
Update Abkhazian translation
Danial Behzadi [Mon, 3 Apr 2023 12:54:19 +0000 (12:54 +0000)]
Update Persian translation
Aleksandr Melman [Mon, 3 Apr 2023 07:28:04 +0000 (07:28 +0000)]
Update Russian translation
Aurimas Černius [Sun, 2 Apr 2023 19:44:42 +0000 (19:44 +0000)]
Update Lithuanian translation
Matthias Clasen [Thu, 30 Mar 2023 23:35:56 +0000 (23:35 +0000)]
Merge branch 'gtk-3-24' into 'gtk-3-24'
Address regression in 3.24.37 (issue 5711) by checking that the context is not NULL.
See merge request GNOME/gtk!5754
Phil Stopford [Thu, 30 Mar 2023 22:34:55 +0000 (22:34 +0000)]
Address issue 5711 by checking that the context is not NULL.
Matthias Clasen [Wed, 29 Mar 2023 01:08:39 +0000 (01:08 +0000)]
Merge branch 'mcatanzaro/fix-xdg-activation' into 'gtk-3-24'
wayland: Don't crash without xdg_activation_v1
See merge request GNOME/gtk!5743
Michael Catanzaro [Wed, 29 Mar 2023 00:42:53 +0000 (19:42 -0500)]
wayland: Don't crash without xdg_activation_v1
This backports
3cdb6392102079d85ea38fa24d58c1824fe4dd37 to GTK 3.
See: #5701
Matthias Clasen [Tue, 28 Mar 2023 18:05:39 +0000 (18:05 +0000)]
Merge branch 'backport-mr-5721' into 'gtk-3-24'
wayland: Don't crash on cursor size 0 (Backport !5721)
See merge request GNOME/gtk!5739
Matthias Clasen [Sun, 26 Mar 2023 00:25:51 +0000 (20:25 -0400)]
wayland: Don't crash on cursor size 0
The cursor-theme-size setting is documented as
'0 means the default size'. Make it so by using
size 24 if we see a 0. Its better than crashing.
Fixes: #5700
(cherry picked from commit
7adbbe6f35347b19319d9e4ce8c92fb0e861524b)
Matthias Clasen [Tue, 28 Mar 2023 13:56:55 +0000 (13:56 +0000)]
Merge branch 'notify-initial-setting-change' into 'gtk-3-24'
gdkscreen-wayland: Notify initial setting change from org.gtk.Settings
See merge request GNOME/gtk!5733
Gaël Bonithon [Mon, 27 Mar 2023 17:40:42 +0000 (19:40 +0200)]
gdkscreen-wayland: Notify initial setting change from org.gtk.Settings
Emin Tufan Çetin [Mon, 27 Mar 2023 12:19:30 +0000 (12:19 +0000)]
Update Turkish translation
Guillaume Bernard [Mon, 27 Mar 2023 08:48:03 +0000 (08:48 +0000)]
Update French translation
Matthias Clasen [Sun, 26 Mar 2023 15:19:23 +0000 (15:19 +0000)]
Merge branch 'ebassi/issue-5691' into 'gtk-3-24'
gdk: Swap Cairo calls when reading back from a GdkWindow
See merge request GNOME/gtk!5727
Emmanuele Bassi [Sun, 26 Mar 2023 14:59:14 +0000 (15:59 +0100)]
docs: Try to steer people away from gdk_pixbuf_get_from_window()
It's a bad function, and people should feel bad about using it.
Emmanuele Bassi [Sun, 26 Mar 2023 14:57:56 +0000 (15:57 +0100)]
gdk: Swap Cairo calls when reading back from a GdkWindow
First we flush the surface, then we mark it dirty.
Don't look at me: this makes sense in Cairo, apparently.
Fixes: #5691
Nathan Follens [Sun, 26 Mar 2023 13:25:07 +0000 (13:25 +0000)]
Update Dutch translation
Asier Sarasua Garmendia [Sun, 26 Mar 2023 08:31:38 +0000 (08:31 +0000)]
Update Basque translation
Jordi Mas [Sun, 26 Mar 2023 06:48:06 +0000 (08:48 +0200)]
Update Catalan translation
Kukuh Syafaat [Sun, 26 Mar 2023 06:40:13 +0000 (06:40 +0000)]
Update Indonesian translation
John Ralls [Sat, 25 Mar 2023 20:41:08 +0000 (13:41 -0700)]
Merge branch 'issue5593' into gtk-3-24
Alexander Shopov [Sat, 25 Mar 2023 17:26:16 +0000 (17:26 +0000)]
Update Bulgarian translation
Matthias Clasen [Sat, 25 Mar 2023 14:20:24 +0000 (14:20 +0000)]
Merge branch 'doc-link-fixes' into 'gtk-3-24'
docs: Fix some links
See merge request GNOME/gtk!5718
Matthias Clasen [Sat, 25 Mar 2023 14:09:00 +0000 (10:09 -0400)]
docs: Fix some links
The links to the overview sections were all broken.
Fix them.
Balázs Úr [Fri, 24 Mar 2023 23:40:51 +0000 (23:40 +0000)]
Update Hungarian translation
Hugo Carvalho [Fri, 24 Mar 2023 22:49:36 +0000 (22:49 +0000)]
Update Portuguese translation
Christian Kirbach [Fri, 24 Mar 2023 22:47:48 +0000 (22:47 +0000)]
Update German translation
Anders Jonsson [Fri, 24 Mar 2023 22:30:52 +0000 (22:30 +0000)]
Update Swedish translation
Piotr Drąg [Fri, 24 Mar 2023 16:51:41 +0000 (17:51 +0100)]
Update Polish translation
Yuri Chornoivan [Fri, 24 Mar 2023 13:07:48 +0000 (13:07 +0000)]
Update Ukrainian translation
Martin [Fri, 24 Mar 2023 08:45:13 +0000 (08:45 +0000)]
Update Slovenian translation
Ekaterine Papava [Fri, 24 Mar 2023 05:10:33 +0000 (05:10 +0000)]
Update Georgian translation
Matthias Clasen [Fri, 24 Mar 2023 03:03:59 +0000 (03:03 +0000)]
Merge branch 'wip/jtojnar/inspector-immodule-backport' into 'gtk-3-24'
inspector: Add pango backend and im module
See merge request GNOME/gtk!5706
Christian Hergert [Fri, 3 Dec 2021 20:11:25 +0000 (12:11 -0800)]
inspector: add im-module
This adds a new row to the Global/Information section which displays the
GTK im-module that is likely to be in use unless changed by an application.
It responds to updates of GtkSettings:gtk-im-module unless the
GTK_IM_MODULE environment variable is set.
Fixes #4512
(cherry picked from commit
6be352f4468b4dbbb1d71f427948dda154b9a658)
John Ralls [Thu, 23 Mar 2023 18:32:15 +0000 (11:32 -0700)]
[quartz] Convert frame_link, windows_awaiting_frame to GSList.
We were't using GList's prev member; worse, we weren't setting it
and that broke g_list_remove_link so that the link wasn't removed
in _gdk_quartz_display_remove_frame_callback.
Closes #5593
Matthias Clasen [Sun, 28 Jul 2019 15:39:16 +0000 (11:39 -0400)]
inspector: Show the pango backend
(cherry picked from commit
7eb5dfd2947c8e8de0957f4339af66b47811f2c7)
Emmanuele Bassi [Tue, 21 Mar 2023 11:29:04 +0000 (11:29 +0000)]
Merge branch 'fix-issue-5678' into 'gtk-3-24'
GdkWin32: Zero-out memory of an allocated struct
See merge request GNOME/gtk!5690
Luca Bacci [Tue, 21 Mar 2023 09:34:32 +0000 (10:34 +0100)]
GdkWin32: Zero-out memory of an allocated struct
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5678
Changwoo Ryu [Wed, 15 Mar 2023 10:04:25 +0000 (10:04 +0000)]
Update Korean translation
Daniel [Tue, 14 Mar 2023 11:41:15 +0000 (12:41 +0100)]
Revert "Updated Spanish translation"
This reverts commit
ec1551c854a5339f97e4ac24ad522c69a9452cb6.
Daniel [Tue, 14 Mar 2023 11:38:08 +0000 (12:38 +0100)]
Updated Spanish translation
Luca Bacci [Mon, 13 Mar 2023 17:51:03 +0000 (17:51 +0000)]
Merge branch 'check-egl-support-at-runtime' into 'gtk-3-24'
GdkWin32GLContext: Check availability of EGL at runtime
See merge request GNOME/gtk!5629
Luca Bacci [Mon, 13 Mar 2023 17:50:45 +0000 (17:50 +0000)]
Merge branch 'windows-gles-debug-fix' into 'gtk-3-24'
gdkglcontext-win32.c: Fix running under GLES with GDK_DEBUG=opengl
See merge request GNOME/gtk!5622
Matthias Clasen [Mon, 13 Mar 2023 13:13:08 +0000 (13:13 +0000)]
Merge branch 'ebassi/gtk3-file-attrs' into 'gtk-3-24'
Check for attribute availability before accessing it
See merge request GNOME/gtk!5645
Emmanuele Bassi [Mon, 13 Mar 2023 11:49:50 +0000 (11:49 +0000)]
Check for attribute availability before accessing it
Starting from GLib 2.76, the standard attribute getters in the GFileInfo
object will warn if the attribute is unset, instead of silently bailing
out and returning a default value.
Guillaume Bernard [Mon, 13 Mar 2023 10:20:54 +0000 (10:20 +0000)]
Update French translation
Daniel [Mon, 13 Mar 2023 09:50:33 +0000 (10:50 +0100)]
Updated Spanish translation
Matthias Clasen [Mon, 13 Mar 2023 07:40:54 +0000 (07:40 +0000)]
Merge branch 'dark_theme_caret_color_evince' into 'gtk-3-24'
dark theme: create $caret_color and use it
See merge request GNOME/gtk!5642
Nelson Benítez León [Sun, 12 Mar 2023 22:47:59 +0000 (18:47 -0400)]
dark theme: create $caret_color and use it
Fixes Evince showing a dark caret when using
dark theme, which makes it almost invisible.
This is in css node "textview text" of Evince
annotation window (a GtkScrolledWindow).
We create a new $caret_color var based on
$text_color and use it accordingly.
Fixes evince#1842
Alexander Shopov [Sun, 12 Mar 2023 18:37:37 +0000 (18:37 +0000)]
Update Bulgarian translation
Alan Mortensen [Sat, 11 Mar 2023 14:56:00 +0000 (14:56 +0000)]
Update Danish translation
Luca Bacci [Fri, 10 Mar 2023 10:17:28 +0000 (11:17 +0100)]
GdkWin32GLContext: check for EGL support at runtime
Chun-wei Fan [Thu, 9 Mar 2023 03:14:58 +0000 (11:14 +0800)]
gdkglcontext-win32.c: Fix running under GLES
...when GDK_DEBUG=opengl is enabled. There was an extraneous "legacy: %s" in
the GDK_NOTE (OPENGL, g_message("...")) line that should not have been there,
due to a copy-and-paste mishap. Get rid of it.
Simon McVittie [Wed, 8 Mar 2023 14:53:30 +0000 (14:53 +0000)]
Release to unstable
Simon McVittie [Wed, 8 Mar 2023 14:52:34 +0000 (14:52 +0000)]
d/patches: Update translations from upstream git: gl, he
Simon McVittie [Wed, 8 Mar 2023 14:52:02 +0000 (14:52 +0000)]
Add patch to fix incorrect MIME type for file transfer portal
Regression in 3.24.37, affecting interoperability with other
implementations like the one requested in QTBUG-91357.
Matthias Clasen [Tue, 7 Mar 2023 11:31:34 +0000 (11:31 +0000)]
Merge branch 'fix-filetransfer-mimetype' into 'gtk-3-24'
selection: Use the right mime type
See merge request GNOME/gtk!5604
Matthias Clasen [Tue, 7 Mar 2023 04:06:15 +0000 (23:06 -0500)]
selection: Use the right mime type
The correct mime type for portal file transfers
is application/vnd.portal.filetransfer.
Fixes: #5643
Simon McVittie [Tue, 7 Mar 2023 00:07:27 +0000 (00:07 +0000)]
Update changelog